<?php

namespace app\admin\controller\system;

use app\admin\service\system\LogService;
use app\BaseController;

class Log extends BaseController
{
    /**
     * 权限组
     * @author dgc<453342213@qq.com>
     */
    public function index()
    {
        try {
            $service = new LogService();
            $res = $service->getList([]);
            returnDate($res);
        } catch (\Exception $e) {
            returnMsg($e->getMessage(), $e->getCode());
        }
    }
}
